-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
account_saver moved to runtime #2773
Conversation
I don't feel strongly either way, I'll leave it to @buffalojoec for approval. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!! In my opinion, this makes sense to move into runtime. It's a post-processing step that should not be imposed on off-chain consumers of the SVM API.
bf4f73e
to
07998de
Compare
rebased due to conflict on svm lib modules |
would this be a bad time to note that i was working on #2741 to make |
Sorry, I'm missing where its' used inside |
I'm inclined to oppose reverting this as is; I think I'd rather see this reworked for what we want than move it back as-is to Right now it does two distinct things, which are the return values:
They seem tied together right now because the filtering is identical. But I think the filtering is quite cheap (&&-ing a few bools?) - we could just redo it if needed for geyser when constructing interfaces to pass there? Trying to think of a good way to make these separate but without duplicating the logic... |
Problem
account_saver
is only used inruntime
, not insvm
.Summary of Changes
account_saver.rs
toruntime
fromsvm
Fixes #